﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;

namespace ExamSharedClasses
{
    [Serializable()]
    public class ClassWithUsers : Class
    {
        public new const string TABLENAME = "class_user";
        public const string USER_ID = "user_id";

        public List<User> UserList { get; set; }

        public ClassWithUsers() : base()
        {
            this.UserList = new List<User>();
        }
        public ClassWithUsers( Class @class )
            : base( @class ) {
                this.UserList = new List<User>();
        }
        public ClassWithUsers( Class @class, List<User> user )
            : base(@class)
        {
            this.UserList = user;
        }


    }
}
